<template>
  <div class="bg-white w-48vw max-w-175px mb-10px px-5px py-10px">
    <div class="text-14px text-black font-bold one-row-ellipsis mb-5px">{{ contain.name }}</div>
    <div class="grid grid-cols-2 gap-2">
      <el-image
        :src="item.image"
        class="aspect-square"
        v-for="item in contain.images"
        :key="item.image"
      />
    </div>
    <!-- <span v-for="item in contain.images" :key="item.image">{{ item.image }}</span> -->
  </div>
</template>

<script setup>
const props = defineProps({
  contain: {
    typeof: Object,
    default: {},
  },
})
</script>
